cmake_minimum_required(VERSION 3.20)

project(CMake_Install)

add_executable(Hello main.cpp)
install(TARGETS Hello DESTINATION ${PROJECT_NAME}/bin)
install(FILES main.cpp DESTINATION ${PROJECT_NAME}/source)